<!DOCTYPE html>
<!-- 作者: lauJinyu -->
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>快手授权回调</title>
    <style>
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f7fb; margin: 0; padding: 40px; }
        .card { max-width: 720px; margin: 0 auto; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.06); padding: 24px; }
        h1 { margin-top: 0; }
        pre { background: #0b1021; color: #c3e88d; padding: 16px; border-radius: 10px; overflow: auto; }
        a.btn { display: inline-block; padding: 10px 16px; background: #3f8cff; color: #fff; border-radius: 8px; text-decoration: none; }
    </style>
</head>
<body>
    <div class="card">
        <h1>授权回调结果</h1>
        <p>appId: <span th:text="${appId}"></span></p>
        <p>结果如下：</p>
        <pre th:text="${#strings.escapeJson(#objects.toJson(result))}"></pre>
        <a class="btn" th:href="@{'/auth'(app_id=${appId})}">返回授权页</a>
    </div>
</body>
</html>